package com.jshan.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jshan.base.entity.SysMenu;
import java.util.List;

public interface SysMenuService extends IService<SysMenu> {
    List<SysMenu> getMenuListByUserId(Long userId);

    IPage<SysMenu> getMenuPage(IPage<SysMenu> page, String menuName);

    boolean hasChildren(Long menuId);

    List<SysMenu> getAllMenus();
}
